{__NOLAYOUT__}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="viewport"
          content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <title>跳转提示</title>
    <style type="text/css">
        body {
            color: #333;
            font: 14px Verdana, "Helvetica Neue", helvetica, Arial, 'Microsoft YaHei', sans-serif;
            margin: 0;
            padding: 0 20px 20px;
            word-break: break-word;
            background: #fff;
        }

        #pc {
            text-align: center;
            margin-top: calc(50vh - 250px);
        }
        #pc img {
            height: 80px;
        }
        #pc .desc {
            margin: 20px;
        }

        #pc .desc .title {
            color: #6e6e6e;
            font-size: 20px;
        }

        #pc .btn a {
            color: #5EBCFF;
            border: solid 1px #5EBCFF;
            border-radius: 3px;
            background: none;
            padding: 5px 10px;
            cursor: pointer;
            font-size: 14px;
            text-decoration: none;
        }
    </style>
</head>
<body>
<div id="pc">
    <div class="img">
        <img src="/static/images/jump_<?php echo $code?>.png"/>
    </div>
    <div class="desc">
        <div class="title"><?php echo(strip_tags($msg));?></div>
    </div>
    <div class="btn">
        <p class="jump">
            页面将于<b id="wait"><?php echo($wait);?></b>秒后自动跳转
        </p>
        <a id="href" href="<?php echo($url);?>">立即跳转</a>
    </div>
</div>

<script type="text/javascript">
    (function () {
        var wait = document.getElementById('wait'),
            href = document.getElementById('href').href;
        var interval = setInterval(function () {
            var time = --wait.innerHTML;
            if (time <= 0) {
                location.href = href;
                clearInterval(interval);
            }
        }, 1000);
    })();
</script>
</body>
</html>
